package HOT100;

import java.util.*;

/**
 * @author 是阿秋啊
 * @date 2022/07/25 15:01
 **/
public class baiduI {
    static Set<Character> set = new HashSet<>();
    static {
        set.add('a');
        set.add('e');
        set.add('i');
        set.add('o');
        set.add('u');
    }
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        while (sc.hasNext()) {
            String s = sc.nextLine();
            int i = 0;
            int len = s.length();
            if (len < 5) {
                System.out.println(0);
                continue;
            }
            int count = 0;
            while (i < len - 4) {
                if (!set.contains(s.charAt( i ))) {
                    if (!set.contains(s.charAt(i + 3))) {
                        String tmp = s.substring(i, i + 5);
                        Set<Character> tmpSet = new HashSet<>();
                        for (int j = 0; j < tmp.length(); j++) {
                            tmpSet.add(tmp.charAt(j));
                        }
                        if (tmpSet.size() < 5) {
                            i++;
                            continue;
                        }
                        if (set.contains(tmp.charAt(1)) && set.contains(tmp.charAt(2)) && set.contains(tmp.charAt(4))) {
                            count++;
                            i+=3;
                        }else {
                            i++;
                        }
                    }else {
                        i++;
                    }
                }else {
                    i++;
                }
            }
            System.out.println(count);
        }
    }
}